package com.foreknow.demo4;

public class B extends A{
    public B(String name){
        super(name); //调用父类中构造器
    }

}
